{extends 'admin/layout/table-main.tpl'}

{block title}订单管理{/block}
{block smallTitle}系统内的订单管理。{/block}

{block main}
    <div class="iframe-box">
        <div class="row-fluid">
            <h4 class="form-section">回访记录</h4>
            <div class="row-fluid">
                <div class="slimBox">
                    <div class="scroller"  style="height: 200px; overflow-x: hidden" data-always-visible="1" data-rail-visible="0">
                        <table class="table table-stripe table-hover mb0 table-bottom">
                            <tbody>
                            {foreach $data as $item}
                                <tr>
                                    <td width="25%">{$item.created_at}</td>
                                    <td width="10%">{$item.admin.realname}</td>
                                    <td width="55%">{$item.content}</td>
                                </tr>
                            {/foreach}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

            <form method="post" class="form-horizontal" action="{route('AdminOrderCustomerServiceReturnAction')}">
                <h4 class="form-section">添加回访信息</h4>
                <div class="form-group">
                    {*<label class="col-sm-2 control-label">#</label>*}
                    <div class="col-sm-10">
                        <textarea name="content" class="form-control"></textarea>
                    </div>
                </div>
                {*<div class="hr-line-dashed"></div>*}
                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-2">
                        <input type="hidden" class="form-control" name="id" value="{$get.id}">
                        <button class="btn btn-primary" type="submit">保存内容</button>
                        {*<a class="btn btn-white" type="button" href="{route('AdminOrderList')}">返回</a>*}
                    </div>
                </div>
            </form>
        </div>
    </div>
{/block}
{block script}
    <script src="{asset('admin/js/plugins/layer/layer.min.js')}"></script>
    <script>
        var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
        parent.layer.iframeAuto(index);

    </script>
{/block}


